package com.ziqikeji.simplemvc.system.core;

/**
 * 页面（模拟）
 * @author dpf
 */
public class View {
    /**
     * 页面标题
     */
    private String title;

    public View(String title) {
        this.title = title;
    }

    public void show() {
        System.out.println("浏览器渲染页面：" + title);
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
